package org.jet.emall.prod.po;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 品牌表
 * </p>
 *
 * @author xiaozai
 * @since 2020-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_prod_brand")
@ApiModel(value="ProdBrand对象", description="品牌表")
public class ProdBrand implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "品牌名称")
    private String name;

    @ApiModelProperty(value = "品牌编码")
    private String code;

    @ApiModelProperty(value = "品牌联系电话")
    private String telephone;

    @ApiModelProperty(value = "品牌网络")
    private String web;

    @ApiModelProperty(value = "品牌logo URL")
    private String logo;

    @ApiModelProperty(value = "品牌描述")
    private String description;

    @ApiModelProperty(value = "品牌状态: 0-禁用, 1-启用")
    private Byte status;

    @ApiModelProperty(value = "排序")
    private Integer orde;

    @TableLogic
    @ApiModelProperty(value = "逻辑删除: 1-已删除, 0-未删除")
    private Byte deleted;

    @ApiModelProperty(value = "最后修改时间")
    private LocalDateTime modifiedTime;


}
